﻿using System.Security.Cryptography;

namespace EncodingTools {
    public class Md5Encoder : IEncoder {
        public byte[] Encode(byte[] value) {
            MD5 md5 = new MD5CryptoServiceProvider();
            return md5.ComputeHash(value);
        }
    }
}
